package com.zjsd.sqeybusiness.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zjsd.sqeybusiness.mapper.RecharesettingMapper;
import com.zjsd.sqeybusiness.domain.Recharesetting;
import com.zjsd.sqeybusiness.service.IRecharesettingService;

/**
 * 充值配置Service业务层处理
 * 
 * @author Zheng
 * @date 2025-03-26
 */
@Service
public class RecharesettingServiceImpl implements IRecharesettingService 
{
    @Autowired
    private RecharesettingMapper recharesettingMapper;

    /**
     * 查询充值配置
     * 
     * @param settingid 充值配置ID
     * @return 充值配置
     */
    @Override
    public Recharesetting selectRecharesettingById(Long settingid)
    {
        return recharesettingMapper.selectRecharesettingById(settingid);
    }

    /**
     * 查询充值配置列表
     * 
     * @param recharesetting 充值配置
     * @return 充值配置
     */
    @Override
    public List<Recharesetting> selectRecharesettingList(Recharesetting recharesetting)
    {
        return recharesettingMapper.selectRecharesettingList(recharesetting);
    }

    /**
     * 新增充值配置
     * 
     * @param recharesetting 充值配置
     * @return 结果
     */
    @Override
    public int insertRecharesetting(Recharesetting recharesetting)
    {
        return recharesettingMapper.insertRecharesetting(recharesetting);
    }

    /**
     * 修改充值配置
     * 
     * @param recharesetting 充值配置
     * @return 结果
     */
    @Override
    public int updateRecharesetting(Recharesetting recharesetting)
    {
        return recharesettingMapper.updateRecharesetting(recharesetting);
    }

    /**
     * 批量删除充值配置
     * 
     * @param settingids 需要删除的充值配置ID
     * @return 结果
     */
    @Override
    public int deleteRecharesettingByIds(Long[] settingids)
    {
        return recharesettingMapper.deleteRecharesettingByIds(settingids);
    }

    /**
     * 删除充值配置信息
     * 
     * @param settingid 充值配置ID
     * @return 结果
     */
    @Override
    public int deleteRecharesettingById(Long settingid)
    {
        return recharesettingMapper.deleteRecharesettingById(settingid);
    }
}
